<div class="panel panel-default">
	<div class="panel-heading">
		<span class="glyphicon glyphicon-search"></span> <strong class="h3">Search</strong>
		<strong class="pull-right"><a href="#" data-toggle="modal" data-target="#advance-search" >Advance Search</a></strong>
	</div>
	<div class="panel-body">
		<form class="form-inline" role="form">
		<strong>I am looking for   </strong>
		<select class="form-control age">
			<?php 
				for($a = 10; $a <= 40; $a++){
					echo "<option value='".$a."'>". $a . "</option>";
				} 
			?>
		</select>
		<strong>To   </strong>
		<select class="form-control age">
			<?php 
				for($a = 10; $a <= 40; $a++){
					echo "<option value='".$a."'>". $a . "</option>";
				} 
			?>
		</select>
		<strong>year old tomboy in   </strong>
		<select class="form-control city">
			<?php 
				$array = array("London", "Essex", "Liverpool", "Harlow", "Glasgow");
				for($a = 0; $a <= count($array)-1; $a++){
					echo "<option value='".$a."'>". $array[$a] . "</option>";
				} 
			?>
		</select>
		<a href="#" class="btn btn-success pull-right">Search</a>
		</form>
	</div>
</div>
<!-- Modal -->
<div class="modal fade" id="advance-search" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-dialog-position">
    <div class="modal-content">
      <div class="modal-body">
        <div class="input-group input-group-lg">
		  <input type="text" class="form-control" placeholder="Search"> 
		  <span class="input-group-addon"><span class="glyphicon glyphicon-search" ></span></span>
		</div>
      </div>
    </div>
  </div>
</div>